package com.zw.yzk.kabu.data.network.entity;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by zhanwei on 2017/3/12.
 */

public class ShippingAddressEntity extends Entity {

    @Expose
    @SerializedName("result")
    public Result result;

    public static class Result {
        @Expose
        @SerializedName("total_rows")
        public int total;
        @Expose
        @SerializedName("receiver_info_list")
        public List<Address> addressList;
    }

    public static class Address {

        @Expose
        @SerializedName("id")
        public int id;// 编号
        @Expose
        @SerializedName("user_id")
        public int userId;// 用户id
        @Expose
        @SerializedName("receiver_name")
        public String receiverName; //收货人名称
        @Expose
        @SerializedName("receiver_phone")
        public String receiverPhone;// 收货人电话
        @Expose
        @SerializedName("province")
        public String province;// 省份
        @Expose
        @SerializedName("city")
        public String city;// 城市
        @Expose
        @SerializedName("district")
        public String district;// 区
        @Expose
        @SerializedName("address")
        public String address;// 详细地址
        @Expose
        @SerializedName("is_default")
        public int isDefault;// 是否为默认地址，0-否 1-是

    }
}
